/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Beans;

import Modelo.Login;

public class LoginBean {
    
    Login login= new Login();

    public Login getLogin() {
        return login;
    }

    public void setLogin(Login login) {
        this.login = login;
    }
    
    public String gravar(){
        
       if(login.getUsuarioLogin().equals("cleiton") && login.getUsuarioSenha().equals("2332js")){
           return "Principal";  
       }else{
            return"falha";
       }
    
   }
}